<?php

    session_start();
    $_SESSION['user_id'] = '';
    $login['logged'] = false;
    $userList = (object) array('error' => 0, 'errormessage' => '', 'data' => $login);
    echo json_encode($userList);

?>